package com.wxproject.demo.Entity.AO;

import com.wxproject.demo.Utils.DateUtils;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author zqf
 * @date 2021/4/30 19:25
 * @description
 */
@Data
public class ReplyTwoCommentAO {
    private String id;
    @NotBlank(message = "评论内容不能为空")
    private String content;
    private String createTime = DateUtils.getMinutesDate();
    @NotBlank(message = "一级评论id不能为空")
    private String commentId;
    private String fromUid;
    @NotBlank(message = "对方用户id不能为空")
    private String toUid;
}
